package com.jv.spring.init_destroy_bean;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class IDMain {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(IDConfig.class);
		TestTransBean bean = ac.getBean(TestTransBean.class);
		ac.close();
		System.out.println("bean................"+bean);
	}
}
